package com.ruoyi.finance.livestreaming.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户银行卡
 * </p>
 *
 * @author wangmh
 * @since 2023-10-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sz_user_bank_card")
@ApiModel(value = "SzUserBankCard对象", description = "用户银行卡")
public class SzUserBankCard implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId("id")
    private Long id;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("开户人真实姓名")
    @TableField("real_name")
    private String realName;

    @ApiModelProperty("银行卡号")
    @TableField("card_id")
    private String cardId;

    @ApiModelProperty("银行卡类型")
    @TableField("card_type")
    private String cardType;

    @ApiModelProperty("所属银行")
    @TableField("bank_name")
    private String bankName;

    @ApiModelProperty("开户行")
    @TableField("bank_address")
    private String bankAddress;

    @ApiModelProperty("添加时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("逻辑删除")
    @TableField("delete_flag")
    private String deleteFlag;

    @ApiModelProperty("删除时间")
    @TableField("delete_time")
    private LocalDateTime deleteTime;


}
